package com.bzy.blp.upms.mapper;

import com.bzy.blp.upms.vo.AccountDetailVO;
import com.bzy.blp.upms.vo.AccountVO;
import com.bzy.blp.upms.vo.AppRoleDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface AccountMapper {


    /**
     * 用户管理列表
     * @param userName
     * @return
     */
    List<AccountVO> queryAccountList(@Param("userName") String userName);


    AccountDetailVO queryAccountDetail(@Param("userId") Long userId);


    /**
     * 查询用户多应用角色信息
     * @param userId
     * @return
     */
    List<AppRoleDto> queryAccountAppRole(@Param("userId") Long userId);
}

